html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #f5f7fa;
    padding: 40px 0;
    box-sizing: border-box;
    font-family: Montserrat, "sans-serif";
    color: #51565d;
}

.calendar {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    grid-template-rows: 50px;
    grid-auto-rows: 150px;
    overflow: auto;
    &-container {
        width: 90%;
        margin: auto;
        overflow: hidden;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background: #fff;
        max-width: 1200px;
    }
    &-header {
        text-align: center;
        padding: 20px 0;
        background: linear-gradient(to bottom, rgb(250, 251, 253) 0%, rgba(255, 255, 255, 0) 100%);
        border-bottom: 1px solid rgba(166, 168, 179, 0.12);
        h1 {
            margin: 0;
            font-size: 18px;
        }
        p {
            margin: 5px 0 0 0;
            font-size: 13px;
            font-weight: 600;
            color: rgba(#51565d, .4);
        }
        button {
            background: 0;
            border: 0;
            padding: 0;
            color: rgba(#51565d, .7);
            /* cursor: pointer; */
            outline: 0;
        }
    }
}

.day {
    border-bottom: 1px solid rgba(166, 168, 179, 0.12);
    border-right: 1px solid rgba(166, 168, 179, 0.12);
    text-align: right;
    padding: 14px 20px;
    letter-spacing: 1px;
    font-size: 12px;
    box-sizing: border-box;
    color: #98a0a6;
    position: relative;
    /* pointer-events: none; */
    z-index: 1;
    &:nth-of-type(7n + 7) {
        border-right: 0;
    }
    &:nth-of-type(n + 1):nth-of-type(-n + 7) {
        grid-row: 2;
    }
    &:nth-of-type(n + 8):nth-of-type(-n + 14) {
        grid-row: 3;
    }
    &:nth-of-type(n + 15):nth-of-type(-n + 21) {
        grid-row: 4;
    }
    &:nth-of-type(n + 22):nth-of-type(-n + 28) {
        grid-row: 5;
    }
    &:nth-of-type(n + 29):nth-of-type(-n + 35) {
        grid-row: 6;
    }
    &:nth-of-type(7n + 1) {
        grid-column: 1/1;
    }
    &:nth-of-type(7n + 2) {
        grid-column: 2/2;
    }
    &:nth-of-type(7n + 3) {
        grid-column: 3/3;
    }
    &:nth-of-type(7n + 4) {
        grid-column: 4/4;
    }
    &:nth-of-type(7n + 5) {
        grid-column: 5/5;
    }
    &:nth-of-type(7n + 6) {
        grid-column: 6/6;
    }
    &:nth-of-type(7n + 7) {
        grid-column: 7/7;
    }
    &-name {
        font-size: 12px;
        text-transform: uppercase;
        color: #99a1a7;
        text-align: center;
        border-bottom: 1px solid rgba(166, 168, 179, 0.12);
        line-height: 50px;
        font-weight: 500;
    }
    &--disabled {
        color: rgba(#98a0a6, 0.6);
        background-color: #ffffff;
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
        /* cursor: not-allowed; */
    }
}

.task {
    border-left-width: 3px;
    padding: 8px 12px;
    margin: 10px;
    border-left-style: solid;
    font-size: 14px;
    position: relative;
    text-decoration:none;
    
}
a
{
    text-decoration: none;
}
